package org.jfk.shiro;

import org.apache.shiro.authc.credential.DefaultPasswordService;
import org.apache.shiro.crypto.hash.Hash;
import org.apache.shiro.crypto.hash.HashRequest;
import org.apache.shiro.crypto.hash.HashService;
import org.apache.shiro.crypto.hash.format.HashFormat;
import org.apache.shiro.crypto.hash.format.HashFormatFactory;
import org.apache.shiro.util.ByteSource;

public class MyPasswordService extends DefaultPasswordService {

	@Override
	protected HashRequest buildHashRequest(ByteSource plaintext, Hash saved) {
		// TODO Auto-generated method stub
		return super.buildHashRequest(plaintext, saved);
	}

	@Override
	protected void checkHashFormatDurability() {
		// TODO Auto-generated method stub
		super.checkHashFormatDurability();
	}

	@Override
	protected ByteSource createByteSource(Object o) {
		// TODO Auto-generated method stub
		return super.createByteSource(o);
	}

	@Override
	protected HashRequest createHashRequest(ByteSource plaintext) {
		// TODO Auto-generated method stub
		return super.createHashRequest(plaintext);
	}

	@Override
	public String encryptPassword(Object plaintext) {
		// TODO Auto-generated method stub
		return super.encryptPassword(plaintext);
	}

	@Override
	public HashFormat getHashFormat() {
		// TODO Auto-generated method stub
		return super.getHashFormat();
	}

	@Override
	public HashFormatFactory getHashFormatFactory() {
		// TODO Auto-generated method stub
		return super.getHashFormatFactory();
	}

	@Override
	public HashService getHashService() {
		// TODO Auto-generated method stub
		return super.getHashService();
	}

	@Override
	public Hash hashPassword(Object plaintext) {
		// TODO Auto-generated method stub
		return super.hashPassword(plaintext);
	}

	@Override
	public boolean passwordsMatch(Object plaintext, Hash saved) {
		// TODO Auto-generated method stub
		return super.passwordsMatch(plaintext, saved);
	}

	@Override
	public boolean passwordsMatch(Object arg0, String arg1) {
		// TODO Auto-generated method stub
		return super.passwordsMatch(arg0, arg1);
	}

	@Override
	public void setHashFormat(HashFormat hashFormat) {
		// TODO Auto-generated method stub
		super.setHashFormat(hashFormat);
	}

	@Override
	public void setHashFormatFactory(HashFormatFactory hashFormatFactory) {
		// TODO Auto-generated method stub
		super.setHashFormatFactory(hashFormatFactory);
	}

	@Override
	public void setHashService(HashService hashService) {
		// TODO Auto-generated method stub
		super.setHashService(hashService);
	}

}
